﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FreedomERP.Models;

namespace FreedomERP.Comm
{
    public class ConstData
    {
        public static int COMM_LIST_PAGE_SIZE = 100;

        public static String ACCOUNT_STATUS_YES = "Normal";
        public static String ACCOUNT_STATUS_NO = "Cancel";


        public static String EMPTY_STRING = "";

        //用于BdCategory表，产品规格类型
        public static String CATEGORY_PROD_MODEL_TYPE ="ProdModelType";
        //用于BdCategory表，产品价格类型
        public static String CATEGORY_PROD_PRICE_TYPE = "ProdPriceType";
        //用于BdCategory表，产品状态类型
        public static String CATEGORY_PROD_STATUS_TYPE = "ProdStatusType";
        //用于BdCategory表，产品单位类型
        public static String CATEGORY_PROD_UNIT_TYPE = "ProdUnitType";

        //用于BdCategory表，产品库存状态类型
        public static String CATEGORY_PROD_INV_STATUS_TYPE = "ProdInvStatus";

        //用于BdCategory表，客户状态类型
        public static String CATEGORY_CUSTOMER_STATUS_TYPE = "CustomerStatusType";

        //用于BdCategory表，龙彩产品价格类型1
        public static String CATEGORY_PROD_PRICE_LC_TYPE1 = "零售";
        //用于BdCategory表，龙彩产品价格类型2
        public static String CATEGORY_PROD_PRICE_LC_TYPE2 = "批发";
        //用于BdCategory表，龙彩产品价格类型3
        public static String CATEGORY_PROD_PRICE_LC_TYPE3 = "其他";

        public static String PRODUCT_STATUS_YES = "Y";
        public static String PRODUCT_STATUS_NO = "N";

        //客户状态信息
        public static String CUSTOMER_STATUS_YES = "Y";
        public static String CUSTOMER_STATUS_NO = "N";

        //用于BdCategory表，龙彩商家名称
        public static String ORGUNIT_NAME_LC = "龙彩";
        public static String ORGUNIT_NAME_GL = "格力";

        public static String CATEGORY_STATUS_YES = "Y";
        public static String CATEGORY_STATUS_NO = "N";


        // 送货单状态
        public static String CATEGORY_SEND_ORDER_STATUS = "SendOrderStatus";

        public static String CATEGORY_RECEIVE_ORDER_STATUS = "ReceiveOrderStatus";

        public static String CATEGORY_RECEIVE_ORDER_STATUS_SAVE = "Save";
        public static String CATEGORY_RECEIVE_ORDER_STATUS_APPROVE = "Approve";

        public static String CATEGORY_ACCOUNT_STATUS = "AccountStatus";


        //用于BdCategory表，欠货单状态类型
        public static String CATEGORY_INV_SHORTAGE_STATUS_TYPE = "InvShortageStatusType";

        //用于BdCategory表，欠货单状态值：欠货
        public static String CATEGORY_INV_SHORTAGE_STATUS_VALID = "Valid";

        //用于BdCategory表，欠货单状态值：以核销
        public static String CATEGORY_INV_SHORTAGE_STATUS_INVALID = "Invalid";

        //订单编号前缀
        public static String RECEIVE_ORDER_NUMBER_HEAD = "RO";
        public static String SEND_ORDER_NUMBER_HEAD = "DO";
        public static String SHORTAGE_ORDER_NUMBER_HEAD = "SO";
        public static String SALE_ORDER_NUMBER_HEAD = "SD";

        //送货单状态
        public static String CATEGORY_SEND_ORDER_STATUS_SAVE = "Save";
        public static String CATEGORY_SEND_ORDER_STATUS_APPROVE = "Approve";
        public static String CATEGORY_SEND_ORDER_STATUS_DELETE = "Delete";

        //销售类型
        public static String CATEGORY_SALE_ORDER_BILL_TYPE = "SaleOrderBillType";

        public static String SALE_ORDER_BILL_TYPE_RETAIL = "Retail";
        public static String SALE_ORDER_BILL_TYPE_WHOLESALE = "WholeSale";

        //通用订单类型
        public static String COMM_ORDER_STATUS_SAVE = "Save";
        public static String COMM_ORDER_STATUS_APPROVE = "Approve";

        public static String CATEGORY_COMM_ORDER_STATUS = "CommOrderStatus";

        public static String ORGUNIT_NUMBER_LONGCAI = "LONGCAI";
        public static String ORGUNIT_NUMBER_GELI = "GELI";

        //产品库存状态
 	 	public 	static 	String 	CATEGORY_PROD_INV_STATUS_NORMAL 	= 	"Normal";
        public static String CATEGORY_PROD_INV_STATUS_SHORTAGE = "Shortage";

    }
}
